package com.example.repository.write.mappers;

import com.example.repository.write.Country;
import com.example.repository.write.CountryDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CountryMapper
{
    //@Select("SELECT * FROM CITY WHERE state = #{state}")
    List<CountryDto> findByState(@Param("state") String state);

    int create(Country co);
}
